package com.ttt.util;

import java.awt.*;

public class Constant {
    public static final String Game_Title = "atomic tank";
    public static final int Frame_Width = 1600;
    public static final int Frame_Height = 1000;

    //动态的获得系统屏幕的宽高
    public static final int Screen_W = Toolkit.getDefaultToolkit().getScreenSize().width;
    public static final int Screen_H = Toolkit.getDefaultToolkit().getScreenSize().height;
    public static final int Frame_x = Screen_W-Frame_Width>>1;
    public static final int Frame_y = Screen_H-Frame_Height>>1;

    public static final int State_Menu = 0;
    public static final int State_Help = 1;
    public static final int State_About = 2;
    public static final int State_Run = 3;
    public static final int State_Lost = 4;
    public static final int State_Win = 5;
    public static final int State_Cross = 6;

    public static final String[] Menus = {
            "开始游戏",

            "继续游戏",

            "游戏帮助",

            "游戏关于",

            "退出游戏"
    };

    public static final String Over_Str0 = "Esc键退出游戏";
    public static final String Over_Str1 = "Enter键回到主菜单";

    //字体
    public static final Font gameFont = new Font("宋体",Font.BOLD,28);
    public static final Font smallFont = new Font("宋体",Font.BOLD,12);

    public static final int Repaint_Interval = 30;
    //Etank的最大数量
    public static final int Enemy_Max_Count = 15;
    public static final int Enemy_Born_Interval = 5000;

    public static final int Enemy_AI_Interval = 2000;
    public static final double Enemy_Fire_Percent = 0.02;

//    public static final String House_Str = "家";
}
